<div class="news form">
<?php echo $this->Form->create('News',array('type'=>'file'));?>
	<fieldset>
		<legend><?php __('Edit News'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('category_id',array('class'=>'required','label'=>'Tên chuyên mục'));
		echo $this->Form->input('name',array('class'=>'required','label'=>'Tên tin mới'));
		echo $this->Form->input('description');
		echo $this->Form->input('content');
		echo '<img src="'.$this->webroot.$this->data['News']['image'].'" style=" width: 100px;  height:75px; margin-bottom:5px; float:left; padding:3px; border:1px solid #d5d5d5;"/>';
		echo $this->Form->file('image_new',array('label'=>'Hình ảnh'));
		
		echo $this->Form->input('status');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
<script>
	//<![CDATA[
		CKEDITOR.replace('NewsContent');
	//]]>
	$('#NewsEditForm').validate();
</script>
</div>
